Method and apparatus for allocating data streams onto a single channel

ABSTRACT

A method and system that enables multiplexing a plurality of data streams onto one data stream based on data stream priorities and available transport frame combinations (TFCs) is disclosed. A mobile station has applications that produce separate data streams. Example applications include voice, signaling, E-mail and web applications. The data streams are combined by a multiplexer module into one data stream called the transport stream. The transport stream is sent over the reverse link to base station transceivers (BTS). The multiplexer module multiplexes the data streams onto the transport stream according to thier priorties and the available TFCs.

BACKGROUND

I. Field

The present invention pertains generally to the field of communicationsand more specifically to a novel and improved system and method forallocating a plurality of data streams onto a single channel.

II. Background

A remote station is located within a network. The remote stationincludes applications that produce logical data streams. The remotestation allocates the logical data streams onto a single transportstream. A technique for multiplexing data from logical data streams ontoa transport stream is disclosed in U.S. application Ser. No. 09/612,825,filed Feb. 8, 1999, entitled “METHOD AND APPARATUS FOR PROPORTIONATELYMULTIPLEXING DATA STREAMS ONTO ONE DATA STREAM,” now allowed which isassigned to the assignee of the present invention and incorporated byreference herein.

Choosing an allocation scheme for allocating bits from multiple datastreams onto a single channel is difficult because a number of factorshave to be taken into consideration. One factor that has to beconsidered is the priority of each data stream. Higher priority datastreams take precedence over lower priority data streams. Another factorthat has to be considered is the type of transport format combinations(TFCs) that are allowed. A TFC is a combination of transport frames tobe sent out on a wireless link of the remote station at each time slot.A transport format has a number of blocks (i.e. one or more blocks) anda block size. An allocation scheme that takes into consideration thepriority of data streams and the TFCs available is desired.

It is also desirable to have an allocation scheme that selects TFCswithout having to pad the TFCs, which wastes valuable space. Inaddition, throughput is improved when TFC do not have to be paddedbecause the TFCs that are transmitted over the transport channel arefull. Some allocation schemes pad TFCs. In these padded allocationschemes, a TFC is padded when the TFC is not completely filled with bitsfrom the logical data streams.

SUMMARY

The presently disclosed method and apparatus are directed to allocatinga plurality of data streams onto one data stream for transmission. Alist of allowable TFCs is received from a network. Bits from datastreams at a logical level are placed into TFCs at a transport levelbased on the priority of the data streams and the TFCs available.

In one aspect, a plurality of applications provides a plurality of datastreams to be allocated to a single stream. In another aspect,subscriber units provide a plurality of data streams to be allocated toa single stream of a base station. In still another embodiment, aplurality of base stations provides a plurality of data streams to bemultiplexed by a multiplexer within a base station controller.

In one aspect, a subscriber unit comprises a memory, a plurality ofapplications residing in the memory, each application producing a datastream wherein each data stream comprises at least one bit, and amultiplexer configured to receive each data stream and uniformlydistribute bits from the plurality of data streams onto a single datastream.

In one aspect, the multiplexer is configured to receive each data streamand uniformly distribute bits from the plurality of data streams onto asingle data stream based on the proportion value.

In another aspect, a multiplexer is configured to receive each of aplurality of data streams and uniformly distribute bits from theplurality of data streams onto a single data stream based primarily onthe data streams' proportion value and secondarily on the data streams'priority.

In still another aspect, a wireless communication system comprises asubscriber unit, a base station coupled to the subscriber unit, and abase station controller coupled to the base station. The subscriber unitincludes a plurality of applications and a multiplexer, wherein eachapplication produces a data stream as input to the multiplexer and eachdata stream comprises at least one bit. The multiplexer distributes bitsfrom the data streams onto a single stream based on allowable TFCs notrequiring padding.

BRIEF DESCRIPTION OF THE DRAWINGS

The features, objects, and advantages of the present invention willbecome more apparent from the detailed description set forth below whentaken in conjunction with the drawings in which like referencecharacters identify correspondingly throughout and wherein:

FIG. 1 is a schematic overview of an exemplary cellular telephonesystem;

FIG. 2 shows a block diagram of a mobile station and a base station inaccordance with an embodiment;

FIGS. 3A-3B show a flowchart for the elimination of TFCs based onavailable bits in an embodiment; and

FIGS. 4A-4C show a flowchart for selecting a TFC in an exemplaryembodiment.

DETAILED DESCRIPTION

An exemplary cellular mobile telephone system in which the presentinvention is embodied is illustrated in FIG. 1. For purposes of examplethe exemplary embodiment is described herein within the context of aW-CDMA cellular communications system. However, it should be understoodthat the invention is applicable to other types of communicationsystems, such as personal communication systems (PCS), wireless localloop, private branch exchange (PBX), or other known systems.Furthermore, systems utilizing other well known multiple access schemessuch as TDMA and FDMA as well as other spread spectrum systems mayemploy the presently disclosed method and apparatus.

As illustrated in FIG. 1, a wireless communication network 10 generallyincludes a plurality of mobile stations (also called mobiles, subscriberunits, remote station, or user equipment) 12 a-12 d, a plurality of basestations (also called base station transceivers (BTSs) or Node B), 14a-14 c, a base station controller (BSC) (also called radio networkcontroller or packet control function 16), a mobile station controller(MSC) or switch 18, a packet data serving node (PDSN) or internetworkingfunction (IWF) 20, a public switched telephone network (PSTN) 22(typically a telephone company), and an Internet Protocol (IP) network24 (typically the Internet). For purposes of simplicity, four mobilestations 12 a-12 d, three base stations 14 a-14 c, one BSC 16, one MSC18, and one PDSN 20 are shown. It would be understood by those skilledin the art that there could be any number of mobile stations 12, basestations 14, BSCs 16, MSCs 18, and PDSNs 20.

In one embodiment the wireless communication network 10 is a packet dataservices network. The mobile stations 12 a-12 d may be any of a numberof different types of wireless communication device such as a portablephone, a cellular telephone that is connected to a laptop computerrunning IP-based, Web-browser applications, a cellular telephone with anassociated hands-free car kit, a personal digital assistant (PDA)running IP-based, Web-browser applications, a wireless communicationmodule incorporated into a portable computer, or a fixed locationcommunication module such as might be found in a wireless local loop ormeter reading system. In the most general embodiment, mobile stationsmay be any type of communication unit.

The mobile stations 12 a-12 d may advantageously be configured toperform one or more wireless packet data protocols such as described in,for example, the EIA/TIA/IS-707 standard. In a particular embodiment,the mobile stations 12 a-12 d generate IP packets destined for the IPnetwork 24 and encapsulate the IP packets into frames using apoint-to-point protocol (PPP).

In one embodiment the IP network 24 is coupled to the PDSN 20, the PDSN20 is coupled to the MSC 18, the MSC 18 is coupled to the BSC 16 and thePSTN 22, and the BSC 16 is coupled to the base stations 14 a-14 c viawirelines configured for transmission of voice and/or data packets inaccordance with any of several known protocols including, e.g., E1, T1,Asynchronous Transfer Mode (ATM), IF, PPP, Frame Relay, HDSL, ADSL, orxDSL. In an alternate embodiment, the BSC 16 is coupled directly to thePDSN 20, and the MSC 18 is not coupled to the PDSN 20. In oneembodiment, the mobile stations 12 a-12 d communicate with the basestations 14 a-14 c over an RF interface defined in the 3^(rd) GenerationPartnership Project 2 “3GPP2”, “Physical Layer Standard for cdma2000Spread Spectrum Systems,” 3GPP2 Document No. C.P0002-A, TIA PN-4694, tobe published as TIA/EIA/IS-2000-2-A, (Draft, edit version 30) (Nov. 19,1999) (hereinafter “cdma 2000”), which is fully incorporated herein byreference.

During typical operation of the wireless communication network 10, thebase stations 14 a-14 c receive and demodulate sets of reverse-linksignals from various mobile stations 12 a-12 d engaged in telephonecalls, Web browsing, or other data communications. Each reverse-linksignal received by a given base station 14 a-14 c is processed withinthat base station 14 a-14 c. Each base station 14 a-14 c may communicatewith a plurality of mobile stations 12 a-12 d by modulating andtransmitting sets of forward-link signals to the mobile stations 12 a-12d. For example, as shown in FIG. 1, the base station 14 a communicateswith first and second mobile stations 12 a, 12 b simultaneously, and thebase station 14 c communicates with third and fourth mobile stations 12c, 12 d simultaneously. The resulting packets are forwarded to the BSC16, which provides call resource allocation and mobility managementfunctionality including the orchestration of soft handoffs of a call fora particular mobile station 12 a-12 d from one base station 14 a-14 c toanother base station 14 a-14 c. For example, a mobile station 12 c iscommunicating with two base stations 14 b, 14 c simultaneously.Eventually, when the mobile station 12 c moves far enough away from oneof the base stations 14 c, the call will be handed off to the other basestation 14 b.

If the transmission is a conventional telephone call, the BSC 16 willroute the received data to the MSC 18, which provides additional routingservices for interface with the PSTN 22. If the transmission is apacket-based transmission such as a data call destined for the IPnetwork 24, the MSC 18 will route the data packets to the PDSN 20, whichwill send the packets to the IP network 24. Alternatively, the BSC 16will route the packets directly to the PDSN 20, which sends the packetsto the IP network 24.

The wireless communication channel through which information signalstravel from a mobile station 12 to a base station 14 is known as areverse link. The wireless communication channel through whichinformation signals travel from a base station 14 to a mobile station 12is known as a forward link.

CDMA systems are typically designed to conform to one or more standards.Such standards include the “TIA/EIA/IS-95-B Mobile Station-Base StationCompatibility Standard for Dual-Mode Wideband Spread Spectrum CellularSystem” (the IS-95 standard), the “TIA/EIA/IS-98 Recommended MinimumStandard for Dual-Mode Wideband Spread Spectrum Cellular Mobile Station”(the IS-98 standard), the standard offered by a consortium named “3rdGeneration Partnership Project” (3GPP) and embodied in a set ofdocuments including Document Nos. 3G TS 25.211, 3G TS 25.212, 3G TS25.213, 3G TS 25.311 and 3G TS 25.214 (the W-CDMA standard), the“TR-45.5 Physical Layer Standard for cdma2000 Spread Spectrum Systems”(the cdma2000 standard), and the “TIA/EIA/IS-856 cdma2000 High RatePacket Data Air Interface Specification” (the HDR standard). New CDMAstandards are continually proposed and adopted for use. These CDMAstandards are incorporated herein by reference.

More information concerning a code division multiple accesscommunication system is disclosed in U.S. Pat. No. 4,901,307, entitled“SPREAD SPECTRUM MULTIPLE ACCESS COMMUNICATION SYSTEM USING SATELLITE ORTERRESTRIAL REPEATERS,” and US. Pat. No. 5,103,459, entitled “SYSTEM ANDMETHOD FOR GENERATING WAVEFORMS IN A CDMA CELLULAR TELEPHONE SYSTEM,”both of which are assigned to the assignee of the present invention, andare incorporated in their entirety by reference herein.

Cdma 2000 is compatible with IS-95 systems in many ways. For example, inboth the cdma2000 and IS-95 systems, each base station time-synchronizesits operation with other base stations in the system. Typically, thebase stations synchronize operation to a universal time reference suchas Global Positioning System (GPS) signaling; however, other mechanismscan be used. Based upon the synchronizing time reference, each basestation in a given geographical area is assigned a sequence offset of acommon pseudo noise (PN) pilot sequence. For example, according toIS-95, a PN sequence having 2¹⁵ chips and repeating every 26.67milliseconds (ms) is transmitted as a pilot signal by each base station.The pilot PN sequence is transmitted by each base station at one of 512possible PN sequence offsets. Each base station transmits the pilotsignal continually, which enables mobile stations to identify the basestation's transmissions as well as for other functions.

In an exemplary embodiment, a mobile station communicates with a basestation using wideband code division multiple access (W-CDMA)techniques. The base stations in a W-CDMA system operate asynchronously.That is, the W-CDMA base stations do not all share a common universaltime reference. Different base stations are not time-aligned. Thus,although a W-CDMA base station has a pilot signal, a W-CDMA base stationmay not be identified by its pilot signal offset alone. Once the systemtime of one base station is determined, it cannot be used to estimatethe system time of a neighboring base station. For this reason, a mobilestation in a W-CDMA system use a three-step PERCH acquisition procedureto synchronize with each base station in the system. Each step in theacquisition procedure identifies a different code within a framestructure called a PERCH channel.

In an exemplary embodiment, a mobile station has a plurality ofapplications. The applications reside within the mobile station and eachapplication produces a separate data stream. An application may producemore than one data stream.

FIG. 2 shows a block diagram of a mobile station 12 and a base station14 in accordance with an exemplary embodiment. The mobile station 12includes voice 32, signaling 34, E-mail 36 and web applications 38residing in the memory 49 of the mobile station 12. Each application,voice 32, signalling 34, E-mail 36 and web application 38 produces aseparate data stream 40, 42, 44, 46, respectively. The data streams aremultiplexed by a multiplexer module 48 into, one data stream called thetransport stream 50. The transport stream 50 is sent over the reverselink to a base transceiver station 14 (BTS), also called a base stationfor short.

Each data stream 40-46 has a priority. The multiplexer module 48 placesbits from data streams at a logical level into TFCs at the transportlevel based on the priority of the data streams and the TFCs availablewithout having to pad the TFCs. Other systems pad TFCs that are notfilled with bits from the data streams. However, embodiments of thepresent invention do not pad the TFCs.

In an exemplary embodiment, the multiplexer module 48 operates withinthe media-access control (MAC) layer and gets the data stream prioritiesfrom a higher network layer. The MAC layer defines the procedures usedto receive and transmit over the physical layer.

As would be apparent to one of ordinary skill in the art, the datastreams 40-46 can be prioritized with any priority scheme known in theart, such as first-in-first-out (FIFO), last-in-first-out (LIFO), andshortest-job-first (SJF). As would be apparent to one of ordinary skillin the art, the multiplexer module 48 can operate on a plurality ofnetwork levels.

In another embodiment, the multiplexer module 48 is executed inhardware. In yet another embodiment, the multiplexer module 48 isexecuted in a combination of software and hardware. As would be apparentto one of ordinary skill in the art, the multiplexer module 48 can beexecuted by any combination of software and hardware.

In an embodiment, the multiplexer module 48 employs an allocationalgorithm. For any given time slot, the allocation algorithm eliminatesTFCs that need to be padded. Thus, only TFCs that do not need paddingare valid. For a given time slot, TFCs needing padding are invalid.

If the allocation algorithm did not eliminate invalid TFCs, theallocation algorithm could select a TFC requiring padding. Selecting aTFC that allows the transmission of the most high priority bits mayresult in an invalid TFC being selected. The TFC could be invalidbecause the TFC selected results in high priority bits beingtransmitted, but there are bits available within the TFC for other lowerpriority logical channels. In order to avoid an invalid TFC beingselected, it is necessary for the allocation algorithm of an embodimentto eliminate invalid TFCs before selecting a TFC.

A set of allowable TFCs is received from the network. The set is calledthe transport frame combination set (TFCS). The TFCs in the TFCS areallowable in the sense that the network allows the TFCs to betransported through the network.

In one embodiment, the allocation algorithm has at least three steps asshown below:

(1) Set S1 to the set of TFCs in the TFCS that can be used based on thecurrent maximum transmitter power;

(2) Set S2 to the set of TFCs in S1 that can be used based on thecurrent bit availability from the different logical channels given thatintroducing “padding” blocks is not allowed; and

(3) Pick the TFC from S2 that allows the transmission of the most highpriority bits.

In another embodiment, steps (1) and (2) are reversed. Anotherembodiment includes steps (2) and (3), but not step (1). Each one of thesteps is described in more detail below.

In step (1), TFCs are eliminated from the set of allowable TFCs based onpower requirements. Each TFC requires a certain amount of power in orderto be transmitted. The power requirement for each TFC is computed. TheTFCs that require more power than can be currently transmitted areeliminated. The TFCs that do not require more power than can becurrently transmitted remain.

The second step is the elimination of remaining TFCs that requirepadding blocks based on available bits. The TFCs having available bitsare eliminated. Each TFC is checked for empty blocks.

BS_(ij) is the block size and BSS_(ij) is the block set size in the ithTFC (of the allowable TFCs) for the jth transport channel. Let B_(ik) bethe buffer occupancy for the kth logical channel corresponding to theith transport channel. It is assumed that the block size and block setsize are adjusted for the MAC header and that therefore there is astrict correspondence with the buffer occupancy. A TFC is acceptableonly if it cannot contain more bits than are available for any of thetransport channels. The remaining pseudo-code for the elimination ofTFCs based on available bits is shown below:

1. Set S2=S1.

2. Let there be n transport channels numbered from 1 through n.

3. Set i=1. This will be the index for all transport channels.

4. Let Sb be the set of block sizes that exist in any TFC in S2 for thei^(th) transport channel.

5. Pick a block size BS from Sb.

6. Let St be the set of m TFCs in S2, numbered 1 through m, that haveblock size BS for the i^(th) transport channel.

7. Set j=1. This will be the index for the TFCs in St.${8.\quad{Compute}\text{:}T} = {{BS} \cdot {\sum\limits_{k}^{\quad}{\left\lceil \frac{B_{ik}}{BS} \right\rceil.}}}$

9. If BSS_(ji)≦T then go to 11. Where BSS_(ji) corresponds to the i^(th)trasport channel for the j^(th) TFC in St.

10. S2=S2−{TFCj}. Where TFCj is the j^(th) TFC in St.

11. j+=1.

12. If j≦m then go to step 9.

13. Set Sb=Sb−{BS}.

14. If Sb≠{Ø} then go to step 5.

15. Set i+=1.

16. If i≦n then go to step 4.

17. The algorithm is complete and the valid TFCs are in S2.

FIGS. 3A-3B show a flowchart in one embodiment for the elimination ofTFCs based on available bits. Set S2 is set to S1 100. S1 is the set ofallowable TFCs that do not require more power than can be transmitted.Let there be n transport channels numbered from 1 through n 102.Initialize index i 104. Index i is the index for the transport channels.Let Sb be the set of all block sizes that exist in any TFC in set S2 forthe i^(th) transport channel 106. Select block size BS from set Sb 108.Let St be the set of m TFCs in set S2, numbered 1 through m, that haveblock size BS for the i^(th) transport channel 110. Initialize index j112. Index j is the index for the TFCs in set St. Compute a threshold$T = {{BS} \cdot {\sum\limits_{k}^{\quad}\quad\left\lceil \frac{B_{ik}}{BS} \right\rceil}}$114. Threshold T is used to check whether there is too much space in aTFC. If the Block Set Size BSS_(ji)≦T 116, then index j is incremented118, otherwise there is too much space such that the TFC would requirepadding blocks and the TFC is removed from set S2 120 and index j isincremented 118. If there are more TFCs to process, i.e., j≦m then goback and check if the Block Set Size BSS_(ji)≦T 116, otherwise substractthe entry with this block size from set Sb by the block size 124. If Sbis non-null, then go back and select another block size BS 108,otherwise increment index i 128. If all the transport channels have notbeen processed, i.e., i≦n 130, then Let Sb be the set of all block sizesthat exist in any TFC in set S2 for the next transport channel 106. Ifi>n, then all invalid TFCs have been removed from set of available TFCthat do not require more power than can be transmitted. The valid TFCsare in set S2.

In one embodiment, all of the TFCs with the same block size (on the ithtransport channel) are grouped in S2. In another embodiment, TFCs withthe same block size do not have to be grouped together. In thisembodiment, T is computed every time a different TFC is examined.

The third step is the selection of the optimum TFC. Bits from thelogical data streams are hypothetically loaded into the TFC. The loadedTFCs are compared based on the amount of high priority data theycontain.

There are n priority levels, P₁ through P_(n) with P₁ being the highestpriority. Let there be q TFCs in S2, numbered from 1 to q. For each TFCin S2, create a variable NOB (number of bits) and for each one of thetransport channels on each TFC, create a variable SAS (still availablespace). All SAS shall be initialized to the corresponding TFC block setsize. NOB_(i) and SAS_(ij) are the variables for the ith TFC in S2 andthe jth transport channel. L_(ij) is the jth logical channel at prioritylevel P_(i). Then the following algorithm can be performed:

1. Set S3=S2.

2. Set i=1. This is going to be the index for the priority levels.

3. Initialize the NOBs for all TFCs in S3 to 0.

4. Let m be the number of logical channels of priority Pi.

5. Set j=1. This is going to be the index for the logical channels atthe current priority level.

6. Let Bij be the number of available bits for logical channel Lij.

7. Let l be the transport channel on which logical channel j is mapped.

8. Set k=1. This will be the index of TFCs in S3.${9.\quad{If}{\quad\quad}{\left\lceil \frac{B_{ij}}{BS} \right\rceil \cdot {BS}}} < {{SAS}_{{kl}\quad}\quad{then}\quad{go}\quad{to}\quad{step}\quad 13.}$

10. NOB_(k)+=SAS_(kl).

11. SAS_(kl)=0.

12. Go to step 15.${13.\quad{NOB}_{k}}+={\left\lceil \frac{B_{ij}}{BS} \right\rceil \cdot {{BS}.\quad\left( {{{It}\quad{is}\quad{also}\quad{possible}\quad{to}\quad{do}\text{:}{NOB}_{k}}+={{B_{ij}.{But}}\quad{this}\quad{make}\quad s\quad{the}\quad{outcome}\quad{order}\quad{{dependent}.}}} \right).}}$${14.\quad{SAS}_{kl}}-={\left\lceil \frac{B_{ij}}{BS} \right\rceil \cdot {{BS}.}}$

15. k+=1.

16. If k≦q then go to step 9.

17. j+=1; Logical Channels

18. If j≦m then go to step 6.

19. Keep in S3 the TFCs for which the NOB is the highest.

20. If there is no TFC in S3, then go to the next time slot.

21. If there is a single TFC in S3 then the algorithm is complete. Thesingle TFC is used. Go to the next time slot.

22. i+=1.; Priority

23. If i≦n then go to step 3.

24. Pick arbitrarily one of the TFCs in S3. Go to the next time slot.

FIGS. 4A-4C show a flowchart for selecting a TFC in an exemplaryembodiment. Set S3 is set to set S2 140, which is the set of valid TFCs.Set S3 shall provide a set of TFCs that can be selected for transport.The index for the priority levels, index i is initialized 142. There isan NOB variable for all TFCs in set S3. NOB stands for number of bits.The NOB variables for all TFCs in S3 are initialized to zero 144. Let mbe the number of logical channels of priority P_(l) 146. The index forthe logical channels at the current priority level, index j, isinitialized to one 148. Let Bij be the number of available bits forlogical channel Lij 150. Logical channels are mapped to transportchannels. l is the transport channel on which logical channel j ismapped 152. Initialize the index of the TFCs in set S3, k, to one.

If there is still available space after filling Bij, i.e.,${\left\lceil \frac{B_{ij}}{BS} \right\rceil \cdot {BS}} < {SAS}_{kl}$156, then increment NOBk by$\left\lceil \frac{B_{ij}}{BS} \right\rceil \cdot {BS}_{kl}$158 and substract$\left\lceil \frac{B_{ij}}{BS} \right\rceil \cdot {BS}_{kl}$from SASkl 160. Then, increment index k 166. If there is no availablespace after filling Bij, then increment the number of bits NOBk by SASkl162 and reset SASkl to zero 164. Increment index k 166. If the TFCs inS2 have not been processed for this logical channel, i.e, if k≦q 168,then go back to fill more TFCs, i.e.,${\left\lceil \frac{B_{ij}}{BS} \right\rceil \cdot {BS}} < {SAS}_{kl}$156. If the TFCs in S2 have been processed for this logical channel,then increment index j 170. If index j≦m then go back and let Bij be thenumber of available bits for logical channel Lij 50. Otherwise put theTFCs for which the NOB is the highest in set S3 174. If there is asingle TFC in S3 180, then the single TFC is used 182. Go to the nexttime slot 178. If there is more than one TFC in S3, then increment indexi 184. If i≦n 186, then go back and initialize the NOB variables for allTFCs in S3 to zero 144 and continue the algorithm. Otherwise, alltransport channels have been processed. One of the TFCs in S3 can bearbitrarily chosen for transmission 188. Go to the next time slot 178.

As would be apparent to one of ordinary skill in the art, the TFCalgorithm can be applied to other interconnections between networkmodules. It can be applied to any situation where a module has aplurality of inputs and produces a multiplexed ouput from the pluralityof inputs. For example, a multiplexer module can be located within a BTSwherein the BTS multiplexes data streams from a plurality of mobilestations and produces a multiplexed data stream to be sent to the BSC.

Thus, a novel and improved method and apparatus for multiplexingmultiple data streams onto one data stream have been described. Those ofskill in the art would understand that the various illustrative logicalblocks, modules, and algorithm steps described in connection with theembodiments disclosed herein may be implemented as electronic hardware,computer software, or combinations of both. The various illustrativecomponents, blocks, modules, circuits, and steps have been describedgenerally in terms of their functionality. Whether the functionality isimplemented as hardware or software depends upon the particularapplication and design constraints imposed on the overall system.Skilled artisans recognize the interchangeability of hardware andsoftware under these circumstances, and how best to implement thedescribed functionality for each particular application. As examples,the various illustrative logical blocks, modules, and algorithm stepsdescribed in connection with the embodiments disclosed herein may beimplemented or performed with a processor executing a set of firmwareinstructions, an application specific integrated circuit (ASIC), a fieldprogrammable gate array (FPGA) or other programmable logic device,discrete gate or transistor logic, discrete hardware components such as,e.g., registers, any conventional programmable software module and aprocessor, or any combination thereof designed to perform the functionsdescribed herein. The multiplexer may advantageously be amicroprocessor, but in the alternative, the multiplexer may be anyconventional processor, controller, microcontroller, or state machine.The applications could reside in RAM memory, flash memory, ROM memory,EPROM memory, EEPROM memory, registers, hard disk, a removable disk, aCD-ROM, or any other form of storage medium known in the art. Asillustrated in FIG. 2, a base station 14 is advantageously coupled to amobile station 12 so as to read information from the base station 14.The memory 49 may be integral to the multiplexer 48. The multiplexer 48and memory 49 may reside in an ASIC (not shown). The ASIC may reside ina telephone 12.

The previous description of the embodiments of the invention is providedto enable any person skilled in the art to make or use the presentinvention. The various modifications to these embodiments will bereadily apparent to those skilled in the art, and the generic principlesdefined herein may be applied to other embodiments without the use ofthe inventive faculty. Thus, the present invention is not intended to belimited to the embodiments shown herein but is to be accorded the widestscope consistent with the principles and novel features disclosedherein.

1. A method for multiplexing a plurality of data streams onto one datastream, comprising: receiving a set of transport frame combinations froma network; and selecting a transport frame combination (TFC) from thereceived set based on whether at least one TFC in the received set canbe filled with bits from a plurality of data streams in a Wide-CDMAsystem.
 2. The method of claim 1, further comprising filling theselected TFC with bits from the plurality of data streams.
 3. The methodof claim 2, further comprising scheduling the selected TFC fortransport.
 4. The method of claim 2, further comprising allocating theTFC to a single transport stream.
 5. The method of claim 2, wherein theselecting a TFC is also based on the priority of the plurality of datastreams.
 6. The method of claim 2, further comprising comparing theselected TFC with other TFCs from the set of TFCs.
 7. The method ofclaim 6, wherein the selected TFC includes more bits from the highestpriority data stream than other TFCs in the set of TFCs.
 8. The methodof claim 6, wherein the selected TFC includes more high priority bitsfrom the plurality of data streams as compared to other TFCs in the setof TFCS.
 9. A subscriber unit, in a Wide-CDMA system comprising: amemory; a plurality of applications residing in the memory, eachapplication capable of producing a data stream, wherein each data streamcomprises at least one bit; and a multiplexer configured to receive eachdata stream, receive a set of TFCs, and select a TFC from the receivedset based on whether at least one TFC in the received set can be filledwith bits from a plurality of data streams.
 10. The subscriber unit ofclaim 9, wherein the multiplexer is configured to fill the selected TFCwith bits from the plurality of data streams.
 11. The subscriber unit ofclaim 10, wherein the multiplexer is configured to schedule the selectedTFC for transport.
 12. The subscriber unit of claim 10, wherein themultiplexer is configured to allocate the TFC to a single transportstream.
 13. The subscriber unit of claim 10, wherein the multiplexer isconfigured to select the TFC based on the priority of data streams. 14.The subscriber unit of claim 10, wherein the multiplexer is configuredto compare the selected TFC with other TFCs from the set of TFCs. 15.The subscriber unit of claim 14, wherein the multiplexer is configuredto select the TFC that includes more bits from the highest priority datastream of the plurality of data streams than other TFC in the set ofTFCs.
 16. The subscriber unit of claim 14, wherein the multiplexer isconfigured to select the TFC that includes more high priority bits fromthe plurality of data streams as compared to other TFCs in the set ofTFCs.
 17. A base station, in a Wide-CDMA system comprising: a memory; aplurality of applications residing in the memory, each applicationcapable of producing a data stream, wherein each data stream comprisesat least one bit; and a multiplexer configured to receive each datastream, receive a set of TFCs, and select a TFC from the received setbased on whether at least one TFC in the received set can be filled withbits from a plurality of data streams.
 18. The base station of claim 17,wherein the multiplexer is configured to fill the selected TFC with bitsfrom the plurality of data streams based on the priorities of theplurality of data streams.
 19. A base station controller in a Wide-CDMAsystem, comprising: a memory; a plurality of applications residing inthe memory, each application capable of producing a data stream, whereineach data stream comprises at least one bit; and a multiplexerconfigured to receive each data stream, receive a set of TFCs, andselect a TFC from the received set based on whether at least one TFC inthe received set can be filled with bits from a plurality of datastreams.
 20. The base station controller of claim 19, wherein themultiplexer is configured to fill the selected TFC with bits from theplurality of data streams based on the priorities of the plurality ofdata streams.